package com.zhongli.devplatform.component.live;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;


@Data
@Component
@ConfigurationProperties(prefix = "live")
public class LiveProperties {

    /**
     * 推流域名
     */
    private String pushDomain;
    /**
     * 推流密钥
     */
    private String pushKey;
    /**
     * 过期时间，默认24小时推流地址失效
     */
    private Long pushExpire = 86400L;
    /**
     * 播放域名
     */
    private String playDomain;
    /**
     * 播放密钥
     */
    private String playKey;
    /**
     * 过期时间，默认24小时播放地址失效
     */
    private Long playExpire = 86400L;

}
